#ifndef _GLOBAL_H_
#define _GLOBAL_H_

// 仅仅在global.c中定义的时候
#ifdef GLOBAL_VARIABLES_HERE
#undef EXTERN
#define EXTERN 
#endif

EXTERN int disp_pos;
EXTERN u8 gdt_ptr[6];
EXTERN Descriptor gdt[GDT_SIZE];
EXTERN u8 idt_ptr[6];
EXTERN Gate idt[IDT_SIZE];

EXTERN TSS tss;
EXTERN Process* p_proc_ready;
EXTERN char DispChar;

extern Process proc_table[];
extern char task_stack[];
#endif